package cn.signalpha.modules.auth.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 类说明
 *
 * @author signalpha
 */
@Data
@ApiModel(description = "注册表单")
public class SignUpDTO {

	@NotBlank
    @ApiModelProperty(value = "手机号", required = true)
    private String mobile;

	@NotBlank
    @ApiModelProperty(value = "密码", required = true)
    private String loginPwd;

    @ApiModelProperty(value = "昵称", required = true)
    private String nickName;

	@NotBlank
	@ApiModelProperty(value = "手机验证码")
	private String smsCode;

	@NotBlank(message="推荐信息为空")
    @ApiModelProperty(value = "推荐码")
    private String shareCode;

}
